package com.ronglian.register_mini_program.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class RegisterActivityExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public RegisterActivityExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andActivity_idIsNull() {
            addCriterion("activity_id is null");
            return (Criteria) this;
        }

        public Criteria andActivity_idIsNotNull() {
            addCriterion("activity_id is not null");
            return (Criteria) this;
        }

        public Criteria andActivity_idEqualTo(Integer value) {
            addCriterion("activity_id =", value, "activity_id");
            return (Criteria) this;
        }

        public Criteria andActivity_idNotEqualTo(Integer value) {
            addCriterion("activity_id <>", value, "activity_id");
            return (Criteria) this;
        }

        public Criteria andActivity_idGreaterThan(Integer value) {
            addCriterion("activity_id >", value, "activity_id");
            return (Criteria) this;
        }

        public Criteria andActivity_idGreaterThanOrEqualTo(Integer value) {
            addCriterion("activity_id >=", value, "activity_id");
            return (Criteria) this;
        }

        public Criteria andActivity_idLessThan(Integer value) {
            addCriterion("activity_id <", value, "activity_id");
            return (Criteria) this;
        }

        public Criteria andActivity_idLessThanOrEqualTo(Integer value) {
            addCriterion("activity_id <=", value, "activity_id");
            return (Criteria) this;
        }

        public Criteria andActivity_idIn(List<Integer> values) {
            addCriterion("activity_id in", values, "activity_id");
            return (Criteria) this;
        }

        public Criteria andActivity_idNotIn(List<Integer> values) {
            addCriterion("activity_id not in", values, "activity_id");
            return (Criteria) this;
        }

        public Criteria andActivity_idBetween(Integer value1, Integer value2) {
            addCriterion("activity_id between", value1, value2, "activity_id");
            return (Criteria) this;
        }

        public Criteria andActivity_idNotBetween(Integer value1, Integer value2) {
            addCriterion("activity_id not between", value1, value2, "activity_id");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(String value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(String value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(String value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(String value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(String value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(String value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLike(String value) {
            addCriterion("type like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotLike(String value) {
            addCriterion("type not like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<String> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<String> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(String value1, String value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(String value1, String value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andActivity_titleIsNull() {
            addCriterion("activity_title is null");
            return (Criteria) this;
        }

        public Criteria andActivity_titleIsNotNull() {
            addCriterion("activity_title is not null");
            return (Criteria) this;
        }

        public Criteria andActivity_titleEqualTo(String value) {
            addCriterion("activity_title =", value, "activity_title");
            return (Criteria) this;
        }

        public Criteria andActivity_titleNotEqualTo(String value) {
            addCriterion("activity_title <>", value, "activity_title");
            return (Criteria) this;
        }

        public Criteria andActivity_titleGreaterThan(String value) {
            addCriterion("activity_title >", value, "activity_title");
            return (Criteria) this;
        }

        public Criteria andActivity_titleGreaterThanOrEqualTo(String value) {
            addCriterion("activity_title >=", value, "activity_title");
            return (Criteria) this;
        }

        public Criteria andActivity_titleLessThan(String value) {
            addCriterion("activity_title <", value, "activity_title");
            return (Criteria) this;
        }

        public Criteria andActivity_titleLessThanOrEqualTo(String value) {
            addCriterion("activity_title <=", value, "activity_title");
            return (Criteria) this;
        }

        public Criteria andActivity_titleLike(String value) {
            addCriterion("activity_title like", value, "activity_title");
            return (Criteria) this;
        }

        public Criteria andActivity_titleNotLike(String value) {
            addCriterion("activity_title not like", value, "activity_title");
            return (Criteria) this;
        }

        public Criteria andActivity_titleIn(List<String> values) {
            addCriterion("activity_title in", values, "activity_title");
            return (Criteria) this;
        }

        public Criteria andActivity_titleNotIn(List<String> values) {
            addCriterion("activity_title not in", values, "activity_title");
            return (Criteria) this;
        }

        public Criteria andActivity_titleBetween(String value1, String value2) {
            addCriterion("activity_title between", value1, value2, "activity_title");
            return (Criteria) this;
        }

        public Criteria andActivity_titleNotBetween(String value1, String value2) {
            addCriterion("activity_title not between", value1, value2, "activity_title");
            return (Criteria) this;
        }

        public Criteria andActivity_postionIsNull() {
            addCriterion("activity_postion is null");
            return (Criteria) this;
        }

        public Criteria andActivity_postionIsNotNull() {
            addCriterion("activity_postion is not null");
            return (Criteria) this;
        }

        public Criteria andActivity_postionEqualTo(String value) {
            addCriterion("activity_postion =", value, "activity_postion");
            return (Criteria) this;
        }

        public Criteria andActivity_postionNotEqualTo(String value) {
            addCriterion("activity_postion <>", value, "activity_postion");
            return (Criteria) this;
        }

        public Criteria andActivity_postionGreaterThan(String value) {
            addCriterion("activity_postion >", value, "activity_postion");
            return (Criteria) this;
        }

        public Criteria andActivity_postionGreaterThanOrEqualTo(String value) {
            addCriterion("activity_postion >=", value, "activity_postion");
            return (Criteria) this;
        }

        public Criteria andActivity_postionLessThan(String value) {
            addCriterion("activity_postion <", value, "activity_postion");
            return (Criteria) this;
        }

        public Criteria andActivity_postionLessThanOrEqualTo(String value) {
            addCriterion("activity_postion <=", value, "activity_postion");
            return (Criteria) this;
        }

        public Criteria andActivity_postionLike(String value) {
            addCriterion("activity_postion like", value, "activity_postion");
            return (Criteria) this;
        }

        public Criteria andActivity_postionNotLike(String value) {
            addCriterion("activity_postion not like", value, "activity_postion");
            return (Criteria) this;
        }

        public Criteria andActivity_postionIn(List<String> values) {
            addCriterion("activity_postion in", values, "activity_postion");
            return (Criteria) this;
        }

        public Criteria andActivity_postionNotIn(List<String> values) {
            addCriterion("activity_postion not in", values, "activity_postion");
            return (Criteria) this;
        }

        public Criteria andActivity_postionBetween(String value1, String value2) {
            addCriterion("activity_postion between", value1, value2, "activity_postion");
            return (Criteria) this;
        }

        public Criteria andActivity_postionNotBetween(String value1, String value2) {
            addCriterion("activity_postion not between", value1, value2, "activity_postion");
            return (Criteria) this;
        }

        public Criteria andStart_timeIsNull() {
            addCriterion("start_time is null");
            return (Criteria) this;
        }

        public Criteria andStart_timeIsNotNull() {
            addCriterion("start_time is not null");
            return (Criteria) this;
        }

        public Criteria andStart_timeEqualTo(Date value) {
            addCriterion("start_time =", value, "start_time");
            return (Criteria) this;
        }

        public Criteria andStart_timeNotEqualTo(Date value) {
            addCriterion("start_time <>", value, "start_time");
            return (Criteria) this;
        }

        public Criteria andStart_timeGreaterThan(Date value) {
            addCriterion("start_time >", value, "start_time");
            return (Criteria) this;
        }

        public Criteria andStart_timeGreaterThanOrEqualTo(Date value) {
            addCriterion("start_time >=", value, "start_time");
            return (Criteria) this;
        }

        public Criteria andStart_timeLessThan(Date value) {
            addCriterion("start_time <", value, "start_time");
            return (Criteria) this;
        }

        public Criteria andStart_timeLessThanOrEqualTo(Date value) {
            addCriterion("start_time <=", value, "start_time");
            return (Criteria) this;
        }

        public Criteria andStart_timeIn(List<Date> values) {
            addCriterion("start_time in", values, "start_time");
            return (Criteria) this;
        }

        public Criteria andStart_timeNotIn(List<Date> values) {
            addCriterion("start_time not in", values, "start_time");
            return (Criteria) this;
        }

        public Criteria andStart_timeBetween(Date value1, Date value2) {
            addCriterion("start_time between", value1, value2, "start_time");
            return (Criteria) this;
        }

        public Criteria andStart_timeNotBetween(Date value1, Date value2) {
            addCriterion("start_time not between", value1, value2, "start_time");
            return (Criteria) this;
        }

        public Criteria andEnd_timeIsNull() {
            addCriterion("end_time is null");
            return (Criteria) this;
        }

        public Criteria andEnd_timeIsNotNull() {
            addCriterion("end_time is not null");
            return (Criteria) this;
        }

        public Criteria andEnd_timeEqualTo(Date value) {
            addCriterion("end_time =", value, "end_time");
            return (Criteria) this;
        }

        public Criteria andEnd_timeNotEqualTo(Date value) {
            addCriterion("end_time <>", value, "end_time");
            return (Criteria) this;
        }

        public Criteria andEnd_timeGreaterThan(Date value) {
            addCriterion("end_time >", value, "end_time");
            return (Criteria) this;
        }

        public Criteria andEnd_timeGreaterThanOrEqualTo(Date value) {
            addCriterion("end_time >=", value, "end_time");
            return (Criteria) this;
        }

        public Criteria andEnd_timeLessThan(Date value) {
            addCriterion("end_time <", value, "end_time");
            return (Criteria) this;
        }

        public Criteria andEnd_timeLessThanOrEqualTo(Date value) {
            addCriterion("end_time <=", value, "end_time");
            return (Criteria) this;
        }

        public Criteria andEnd_timeIn(List<Date> values) {
            addCriterion("end_time in", values, "end_time");
            return (Criteria) this;
        }

        public Criteria andEnd_timeNotIn(List<Date> values) {
            addCriterion("end_time not in", values, "end_time");
            return (Criteria) this;
        }

        public Criteria andEnd_timeBetween(Date value1, Date value2) {
            addCriterion("end_time between", value1, value2, "end_time");
            return (Criteria) this;
        }

        public Criteria andEnd_timeNotBetween(Date value1, Date value2) {
            addCriterion("end_time not between", value1, value2, "end_time");
            return (Criteria) this;
        }

        public Criteria andTicket_typeIsNull() {
            addCriterion("ticket_type is null");
            return (Criteria) this;
        }

        public Criteria andTicket_typeIsNotNull() {
            addCriterion("ticket_type is not null");
            return (Criteria) this;
        }

        public Criteria andTicket_typeEqualTo(String value) {
            addCriterion("ticket_type =", value, "ticket_type");
            return (Criteria) this;
        }

        public Criteria andTicket_typeNotEqualTo(String value) {
            addCriterion("ticket_type <>", value, "ticket_type");
            return (Criteria) this;
        }

        public Criteria andTicket_typeGreaterThan(String value) {
            addCriterion("ticket_type >", value, "ticket_type");
            return (Criteria) this;
        }

        public Criteria andTicket_typeGreaterThanOrEqualTo(String value) {
            addCriterion("ticket_type >=", value, "ticket_type");
            return (Criteria) this;
        }

        public Criteria andTicket_typeLessThan(String value) {
            addCriterion("ticket_type <", value, "ticket_type");
            return (Criteria) this;
        }

        public Criteria andTicket_typeLessThanOrEqualTo(String value) {
            addCriterion("ticket_type <=", value, "ticket_type");
            return (Criteria) this;
        }

        public Criteria andTicket_typeLike(String value) {
            addCriterion("ticket_type like", value, "ticket_type");
            return (Criteria) this;
        }

        public Criteria andTicket_typeNotLike(String value) {
            addCriterion("ticket_type not like", value, "ticket_type");
            return (Criteria) this;
        }

        public Criteria andTicket_typeIn(List<String> values) {
            addCriterion("ticket_type in", values, "ticket_type");
            return (Criteria) this;
        }

        public Criteria andTicket_typeNotIn(List<String> values) {
            addCriterion("ticket_type not in", values, "ticket_type");
            return (Criteria) this;
        }

        public Criteria andTicket_typeBetween(String value1, String value2) {
            addCriterion("ticket_type between", value1, value2, "ticket_type");
            return (Criteria) this;
        }

        public Criteria andTicket_typeNotBetween(String value1, String value2) {
            addCriterion("ticket_type not between", value1, value2, "ticket_type");
            return (Criteria) this;
        }

        public Criteria andSponsor_idIsNull() {
            addCriterion("sponsor_id is null");
            return (Criteria) this;
        }

        public Criteria andSponsor_idIsNotNull() {
            addCriterion("sponsor_id is not null");
            return (Criteria) this;
        }

        public Criteria andSponsor_idEqualTo(String value) {
            addCriterion("sponsor_id =", value, "sponsor_id");
            return (Criteria) this;
        }

        public Criteria andSponsor_idNotEqualTo(String value) {
            addCriterion("sponsor_id <>", value, "sponsor_id");
            return (Criteria) this;
        }

        public Criteria andSponsor_idGreaterThan(String value) {
            addCriterion("sponsor_id >", value, "sponsor_id");
            return (Criteria) this;
        }

        public Criteria andSponsor_idGreaterThanOrEqualTo(String value) {
            addCriterion("sponsor_id >=", value, "sponsor_id");
            return (Criteria) this;
        }

        public Criteria andSponsor_idLessThan(String value) {
            addCriterion("sponsor_id <", value, "sponsor_id");
            return (Criteria) this;
        }

        public Criteria andSponsor_idLessThanOrEqualTo(String value) {
            addCriterion("sponsor_id <=", value, "sponsor_id");
            return (Criteria) this;
        }

        public Criteria andSponsor_idLike(String value) {
            addCriterion("sponsor_id like", value, "sponsor_id");
            return (Criteria) this;
        }

        public Criteria andSponsor_idNotLike(String value) {
            addCriterion("sponsor_id not like", value, "sponsor_id");
            return (Criteria) this;
        }

        public Criteria andSponsor_idIn(List<String> values) {
            addCriterion("sponsor_id in", values, "sponsor_id");
            return (Criteria) this;
        }

        public Criteria andSponsor_idNotIn(List<String> values) {
            addCriterion("sponsor_id not in", values, "sponsor_id");
            return (Criteria) this;
        }

        public Criteria andSponsor_idBetween(String value1, String value2) {
            addCriterion("sponsor_id between", value1, value2, "sponsor_id");
            return (Criteria) this;
        }

        public Criteria andSponsor_idNotBetween(String value1, String value2) {
            addCriterion("sponsor_id not between", value1, value2, "sponsor_id");
            return (Criteria) this;
        }

        public Criteria andIs_aliveIsNull() {
            addCriterion("is_alive is null");
            return (Criteria) this;
        }

        public Criteria andIs_aliveIsNotNull() {
            addCriterion("is_alive is not null");
            return (Criteria) this;
        }

        public Criteria andIs_aliveEqualTo(Integer value) {
            addCriterion("is_alive =", value, "is_alive");
            return (Criteria) this;
        }

        public Criteria andIs_aliveNotEqualTo(Integer value) {
            addCriterion("is_alive <>", value, "is_alive");
            return (Criteria) this;
        }

        public Criteria andIs_aliveGreaterThan(Integer value) {
            addCriterion("is_alive >", value, "is_alive");
            return (Criteria) this;
        }

        public Criteria andIs_aliveGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_alive >=", value, "is_alive");
            return (Criteria) this;
        }

        public Criteria andIs_aliveLessThan(Integer value) {
            addCriterion("is_alive <", value, "is_alive");
            return (Criteria) this;
        }

        public Criteria andIs_aliveLessThanOrEqualTo(Integer value) {
            addCriterion("is_alive <=", value, "is_alive");
            return (Criteria) this;
        }

        public Criteria andIs_aliveIn(List<Integer> values) {
            addCriterion("is_alive in", values, "is_alive");
            return (Criteria) this;
        }

        public Criteria andIs_aliveNotIn(List<Integer> values) {
            addCriterion("is_alive not in", values, "is_alive");
            return (Criteria) this;
        }

        public Criteria andIs_aliveBetween(Integer value1, Integer value2) {
            addCriterion("is_alive between", value1, value2, "is_alive");
            return (Criteria) this;
        }

        public Criteria andIs_aliveNotBetween(Integer value1, Integer value2) {
            addCriterion("is_alive not between", value1, value2, "is_alive");
            return (Criteria) this;
        }

        public Criteria andCountIsNull() {
            addCriterion("count is null");
            return (Criteria) this;
        }

        public Criteria andCountIsNotNull() {
            addCriterion("count is not null");
            return (Criteria) this;
        }

        public Criteria andCountEqualTo(Integer value) {
            addCriterion("count =", value, "count");
            return (Criteria) this;
        }

        public Criteria andCountNotEqualTo(Integer value) {
            addCriterion("count <>", value, "count");
            return (Criteria) this;
        }

        public Criteria andCountGreaterThan(Integer value) {
            addCriterion("count >", value, "count");
            return (Criteria) this;
        }

        public Criteria andCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("count >=", value, "count");
            return (Criteria) this;
        }

        public Criteria andCountLessThan(Integer value) {
            addCriterion("count <", value, "count");
            return (Criteria) this;
        }

        public Criteria andCountLessThanOrEqualTo(Integer value) {
            addCriterion("count <=", value, "count");
            return (Criteria) this;
        }

        public Criteria andCountIn(List<Integer> values) {
            addCriterion("count in", values, "count");
            return (Criteria) this;
        }

        public Criteria andCountNotIn(List<Integer> values) {
            addCriterion("count not in", values, "count");
            return (Criteria) this;
        }

        public Criteria andCountBetween(Integer value1, Integer value2) {
            addCriterion("count between", value1, value2, "count");
            return (Criteria) this;
        }

        public Criteria andCountNotBetween(Integer value1, Integer value2) {
            addCriterion("count not between", value1, value2, "count");
            return (Criteria) this;
        }

        public Criteria andIs_limitIsNull() {
            addCriterion("is_limit is null");
            return (Criteria) this;
        }

        public Criteria andIs_limitIsNotNull() {
            addCriterion("is_limit is not null");
            return (Criteria) this;
        }

        public Criteria andIs_limitEqualTo(Integer value) {
            addCriterion("is_limit =", value, "is_limit");
            return (Criteria) this;
        }

        public Criteria andIs_limitNotEqualTo(Integer value) {
            addCriterion("is_limit <>", value, "is_limit");
            return (Criteria) this;
        }

        public Criteria andIs_limitGreaterThan(Integer value) {
            addCriterion("is_limit >", value, "is_limit");
            return (Criteria) this;
        }

        public Criteria andIs_limitGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_limit >=", value, "is_limit");
            return (Criteria) this;
        }

        public Criteria andIs_limitLessThan(Integer value) {
            addCriterion("is_limit <", value, "is_limit");
            return (Criteria) this;
        }

        public Criteria andIs_limitLessThanOrEqualTo(Integer value) {
            addCriterion("is_limit <=", value, "is_limit");
            return (Criteria) this;
        }

        public Criteria andIs_limitIn(List<Integer> values) {
            addCriterion("is_limit in", values, "is_limit");
            return (Criteria) this;
        }

        public Criteria andIs_limitNotIn(List<Integer> values) {
            addCriterion("is_limit not in", values, "is_limit");
            return (Criteria) this;
        }

        public Criteria andIs_limitBetween(Integer value1, Integer value2) {
            addCriterion("is_limit between", value1, value2, "is_limit");
            return (Criteria) this;
        }

        public Criteria andIs_limitNotBetween(Integer value1, Integer value2) {
            addCriterion("is_limit not between", value1, value2, "is_limit");
            return (Criteria) this;
        }

        public Criteria andLimit_numberIsNull() {
            addCriterion("limit_number is null");
            return (Criteria) this;
        }

        public Criteria andLimit_numberIsNotNull() {
            addCriterion("limit_number is not null");
            return (Criteria) this;
        }

        public Criteria andLimit_numberEqualTo(Integer value) {
            addCriterion("limit_number =", value, "limit_number");
            return (Criteria) this;
        }

        public Criteria andLimit_numberNotEqualTo(Integer value) {
            addCriterion("limit_number <>", value, "limit_number");
            return (Criteria) this;
        }

        public Criteria andLimit_numberGreaterThan(Integer value) {
            addCriterion("limit_number >", value, "limit_number");
            return (Criteria) this;
        }

        public Criteria andLimit_numberGreaterThanOrEqualTo(Integer value) {
            addCriterion("limit_number >=", value, "limit_number");
            return (Criteria) this;
        }

        public Criteria andLimit_numberLessThan(Integer value) {
            addCriterion("limit_number <", value, "limit_number");
            return (Criteria) this;
        }

        public Criteria andLimit_numberLessThanOrEqualTo(Integer value) {
            addCriterion("limit_number <=", value, "limit_number");
            return (Criteria) this;
        }

        public Criteria andLimit_numberIn(List<Integer> values) {
            addCriterion("limit_number in", values, "limit_number");
            return (Criteria) this;
        }

        public Criteria andLimit_numberNotIn(List<Integer> values) {
            addCriterion("limit_number not in", values, "limit_number");
            return (Criteria) this;
        }

        public Criteria andLimit_numberBetween(Integer value1, Integer value2) {
            addCriterion("limit_number between", value1, value2, "limit_number");
            return (Criteria) this;
        }

        public Criteria andLimit_numberNotBetween(Integer value1, Integer value2) {
            addCriterion("limit_number not between", value1, value2, "limit_number");
            return (Criteria) this;
        }

        public Criteria andCreate_timeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreate_timeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreate_timeEqualTo(Date value) {
            addCriterion("create_time =", value, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeGreaterThan(Date value) {
            addCriterion("create_time >", value, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeLessThan(Date value) {
            addCriterion("create_time <", value, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeIn(List<Date> values) {
            addCriterion("create_time in", values, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "create_time");
            return (Criteria) this;
        }

        public Criteria andUpdate_timeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdate_timeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdate_timeEqualTo(Date value) {
            addCriterion("update_time =", value, "update_time");
            return (Criteria) this;
        }

        public Criteria andUpdate_timeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "update_time");
            return (Criteria) this;
        }

        public Criteria andUpdate_timeGreaterThan(Date value) {
            addCriterion("update_time >", value, "update_time");
            return (Criteria) this;
        }

        public Criteria andUpdate_timeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "update_time");
            return (Criteria) this;
        }

        public Criteria andUpdate_timeLessThan(Date value) {
            addCriterion("update_time <", value, "update_time");
            return (Criteria) this;
        }

        public Criteria andUpdate_timeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "update_time");
            return (Criteria) this;
        }

        public Criteria andUpdate_timeIn(List<Date> values) {
            addCriterion("update_time in", values, "update_time");
            return (Criteria) this;
        }

        public Criteria andUpdate_timeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "update_time");
            return (Criteria) this;
        }

        public Criteria andUpdate_timeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "update_time");
            return (Criteria) this;
        }

        public Criteria andUpdate_timeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "update_time");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}